filepath
Get the filesystem path of a file.
A simple extension trait for File
that provides a single method path
, which returns the path of a file.
Note: Not every file has a path. The path might be wrong for example after moving a file.
OS support: Linux, Mac, Windows
use File;
use FilePath;
let mut file = create.unwrap;
println!;